package headfirst.designpatterns.factory.a_cars_simplefactory2.car;

/**
 * @description: 具体产品
 * @author: 陈家盛
 * @date: 2022/6/22 10:26
 * @version: 1.0
 */
public class Bmw extends Car {
    public void drive() {
        System.out.println(this.getName() + "----go-----------------------");
    }
}